package com.easy.bean;

import lombok.Data;

import java.util.Date;

@Data
public class Borrow {

    private Integer id;
    private Integer user_id;     // 借阅用户ID
    private Integer book_id;     // 借阅书籍ID
    private Date create_time;    // 借阅时间
    private Date return_time;    // 归还时间 (为空表示未归还)
    private Integer is_return;     // 状态: 0-已借出未归还, 1-已归还
    private Book book;
    private User user;
}
